//
//  UIView+DVShadowPath.h
//  DoctorVideo
//
//  Created by 牛清旭 on 2019/8/9.
//  Copyright © 2019 lzx. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger , DVShadowPathType) {
    DVShadowPathTop    = 1,
    DVShadowPathBottom = 2,
    DVShadowPathDVft   = 3,
    DVShadowPathRight  = 4,
    DVShadowPathCommon = 5,
    DVShadowPathAround = 6,
    
};
NS_ASSUME_NONNULL_BEGIN

@interface UIView (DVShadowPath)
/**
 给UIView添加阴影
 
 @param shadowColor 阴影颜色
 @param shadowOpacity 阴影透明度 默认0
 @param shadowRadius 阴影半径 也就是阴影放射程度 默认3
 @param shadowPathType 阴影方向
 @param shadowPathWidth 阴影放射g宽度
 */
- (void)viewShadowPathWithColor:(UIColor *)shadowColor shadowOpacity:(CGFloat)shadowOpacity shadowRadius:(CGFloat)shadowRadius shadowPathType:(DVShadowPathType)shadowPathType shadowPathWidth:(CGFloat)shadowPathWidth;
@end

NS_ASSUME_NONNULL_END
